home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
wavepl
/
frmbig.frm
< prev
next >
Wrap
Text File
|
1995-12-05
|
1KB
|
60 lines
VERSION 2.00
Begin Form frm_big
BackColor = &H00000000&
BorderStyle = 0 'None
ClientHeight = 4020
ClientLeft = 1095
ClientTop = 1485
ClientWidth = 7365
Height = 4425
Left = 1035
LinkTopic = "Form1"
ScaleHeight = 4020
ScaleWidth = 7365
Top = 1140
Width = 7485
Begin PictureBox Picture1
BackColor = &H00000000&
Height = 3015
Left = 240
ScaleHeight = 700
ScaleMode = 0 'User
ScaleWidth = 6705
TabIndex = 0
Top = 360
Width = 6735
End
End
Option Explicit
'This R & D program plots any 8 or 16 bit waveform .wav
'file into a full spectrum display
Sub Form_Load ()
Me.Height = screen.Height
Me.Width = screen.Width
Me.Left = 0
Me.Top = 0
Picture1.CurrentX = 0
Picture1.CurrentY = Picture1.ScaleHeight / 2
Picture1.ForeColor = QBColor(2)
Picture1.BackColor = QBColor(0)
'Red center line(base line)
Picture1.Line (0, Picture1.CurrentY)-(Picture1.ScaleWidth, Picture1.CurrentY), QBColor(4)
End Sub
Sub Form_Resize ()
Picture1.Height = Me.ScaleHeight
Picture1.Width = Me.ScaleWidth
End Sub
Sub Picture1_Click ()
Unload Me
End Sub